package com.haredot.mapper;

import com.haredot.dto.SwiperDTO;
import com.haredot.entity.Swiper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SwiperMapper {
    List<SwiperDTO> findSwipers();

    int update(Swiper advert);

    int save(Swiper advert);

    int deleteById(Long id);

    int batchDeleteByIds(List<Long> ids);

    List<Swiper> findAllSwiper(String sysRemark);
}